package com.jyk.blog.mapper;

import com.jyk.blog.po.Tag;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface TagMapper {
    List<Tag> findAll();
    Tag findById(int id);
    Tag findByName(String name);
    void insertOne(String name);
    void deleteOne(Tag tag);
    void fix(int tagID, String newName);
}
